###
 # @version: 
 # @Company: 
 # @author: TK
 # @LastEditors: TK
 # @LastEditTime: 2022-12-29
 # @description: 
 # @FilePath: \install.sh
 # @since: 2022-12-23
### 
cd $(dirname $0)
BASE=$(pwd)

## 这里相当于数组,做循环安装依赖
projects=(utils model app service admin)
for project in ${projects[@]}
do 
  echo "install $project"
  cd $BASE/package/$project
  cnpm install
done